package myapps.ttclient.asymmetric_encryption;

import java.math.BigInteger;

public class RSAKey {
	private BigInteger _modulus;
	private BigInteger _exponent;
	
	public BigInteger get_modulus() {
		return _modulus;
	}
	
	public BigInteger get_exponent() {
		return _exponent;
	}
	
	public RSAKey(BigInteger modulus, BigInteger exponent) {
		this._exponent = exponent;
		this._modulus = modulus;
	}
	
	public RSAKey( byte[] modulus, byte[] exponent) {	
		this._modulus = new BigInteger(1, modulus);
		this._exponent = new BigInteger(1, exponent);
		
		BigInteger big1 = new BigInteger(modulus);
		BigInteger big2 = new BigInteger(exponent);
		BigInteger big = big1 = big2;
	}
}